/**
 * Created by zjw on 16/8/31.
 */
define(['AppRouter'], function() {
    'use strict';
    console.log("this is app.js:");
    return angular.module('app')
        // .config(["$provide", "$compileProvider", "$controllerProvider", "$filterProvider",
        //     function($provide, $compileProvider, $controllerProvider, $filterProvider) {
        //         app.controller = $controllerProvider.register;
        //         app.directive = $compileProvider.directive;
        //         app.filter = $filterProvider.register;
        //         app.factory = $provide.factory;
        //         app.service = $provide.service;
        //         app.constant = $provide.constant;
        //     }
        // ])
        .controller('AppController', ['$scope', function($scope) {
            console.log("appController");
            // $state.go('login');
        }])
});